#ifndef ISCREENCAPTURER_H
#define ISCREENCAPTURER_H
#include <QRect>
#include <QTime>
#include <QColor>

class IScreenCapturer
{
protected:
	QTime myTimer;
	int WorkTime;
public:
	IScreenCapturer();
	virtual ~IScreenCapturer(){}

	virtual void Capture()=0;
	virtual void Release()=0;
	virtual int GetTime()=0;
	virtual void MakeScreenshot(int x1, int y1, int x2, int y2)=0;
	virtual void SaveToFile(char* filename)=0;
	virtual QColor GetAverage()=0;
};

#endif // ISCREENCAPTURER_H
